﻿using System;
using System.Collections.Generic;
using _5E.Infrastructure.Domain;

namespace WholesaleOnline.Model
{
    partial class WoAttribute : EntityBase<Guid>, IAggregateRoot
    {
        private WoAttributeType m_Type = null;
        public virtual WoAttributeType Type
        {
            get { return m_Type; }
            set { m_Type = value; }
        }

        private IList<WoAttribute> m_Children = new List<WoAttribute>();
        public virtual IList<WoAttribute> Children
        {
            get { return m_Children; }
            set { m_Children = value; }
        }

        private bool m_Display = false;
        public virtual bool Display
        {
            get { return m_Display; }
            set { m_Display = value; }
        }

        protected override void Validate()
        {
            throw new NotImplementedException();
        }
    }
}
